""" Set up typical symbian environment.

Proprietary

"""
bullseye_bin= r"c:\opt\BullsEyeCoverage\bin"

def mk_dg_standard_env(env):
    """ standard digia environment.

    Warning - will nuke existing path, starting from scratch
    """

    
    env["PATH"] = bullseye_bin + r";C:\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem\;C:\Program Files\Sybase\BIN;C:\Program Files\Sybase\DLL\;C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin" + "\\"
    

def mk_platform_env(env, epocroot):
    assert epocroot.endswith("\\")
    path = env["PATH"]
    paths = r";%sepoc32\Tools;%sepoc32\gcc\bin;%sepoc32\release\wins\udeb;" % (epocroot,
                                                                               epocroot,
                                                                               epocroot)
    if paths not in path:
        path+=paths

    env["PATH"] = path
    env["EPOCROOT"] = epocroot
    
